2021 Method
Changes 0
M

ElementTransformUtils.CopyElements

Description:
Copies a set of elements and places the copies at a location indicated by a given translation.
Remarks:
This method is not suitable for elements that are hosted in other elements as it does not perform rehosting. If you need to rehost your elements in addition to copying them, use one of the other CopyElements() overloads.
public static ICollection<ElementId> CopyElements(
	Document document,
	ICollection<ElementId> elementsToCopy,
	XYZ translation
)
Return Value ICollection<ElementId> The ids of the newly created copied elements.